package com.program.facesigninsystem.service.impl;

import com.program.facesigninsystem.dao.IUserClassDao;
import com.program.facesigninsystem.service.IUserClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
@Qualifier("UserClass")
public class UserClassService implements IUserClassService {
    @Autowired
    private IUserClassDao iUserClassDao;

    @Override
    public int selectUserClass(String uid, String cid) {
        return iUserClassDao.selectUserClass(uid,cid);
    }

    @Override
    public void insertUserClass(String uid, String cid) {
        iUserClassDao.insertUserClass(uid,cid);
    }
}
